﻿<Window x:Class="PoshBoard.VisualDesigner.Designer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Visual Designer for PoshBoard" Height="352" Width="776" WindowState="Maximized">
    <Window.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#FFB7B7B7" Offset="0" />
            <GradientStop Color="White" Offset="1" />
        </LinearGradientBrush>
    </Window.Background>
    <Grid Margin="20,20,20,20">   
        <Grid.RowDefinitions>
            <RowDefinition Height="20"></RowDefinition>
            <RowDefinition Height="40"></RowDefinition>
            <RowDefinition Height="20"></RowDefinition>
            <RowDefinition Height="0.90*"></RowDefinition>
            <RowDefinition Height="0.10*"></RowDefinition>
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0" Text="Design page selection" Foreground="White" FontWeight="Bold" Margin="0" Padding="10,0,0,0"><TextBlock.Background><LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><GradientStop Color="#FF012456" Offset="0.506" /><GradientStop Color="#FF2058D1" Offset="1" /></LinearGradientBrush></TextBlock.Background></TextBlock>
        <DockPanel  Grid.Row="1" Background="White">
        <StackPanel Background="White"  HorizontalAlignment="Center" VerticalAlignment="Center"  Orientation="Horizontal" Height="40">            
            <TextBlock Text="Select window" Width="96" VerticalAlignment="Center"></TextBlock>
            <ComboBox Height="30" Width="200" Grid.Row="0" Name="comboSelectDesign"  DisplayMemberPath="Name" SelectionChanged="comboSelectDesign_SelectionChanged"></ComboBox>
                <Grid Name="Preview"></Grid>
            </StackPanel>
        </DockPanel>
        <TextBlock VerticalAlignment="Top" Height="20" Grid.Row="3" Text="Generated code for PoshBoard" Foreground="White" FontWeight="Bold" Padding="10,0,0,0"><TextBlock.Background><LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"><GradientStop Color="#FF012456" Offset="0.506" /><GradientStop Color="#FF2058D1" Offset="1" /></LinearGradientBrush></TextBlock.Background></TextBlock>
        <TextBox     Grid.Row="3" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Visible"  HorizontalAlignment="Stretch" Name="textBox1" Margin="0,20,0,0" />

            <Button MaxHeight="40"  Grid.Row="4" HorizontalAlignment="Center" Name="btn_Copy" Content="Copy script to ClipBoard" Click="btn_Copy_Click"></Button>
        <StackPanel HorizontalAlignment="Right"  Grid.Row="4" Orientation="Horizontal">
            <TextBlock VerticalAlignment="Center" Width="320" Text="PoshBoard and PoshBoard Visual Designer are supported by"></TextBlock>
            <Image Width="74"  Source="/PoshBoard.VisualDesigner.Designer;component/Core/NeliteLogo.png"></Image>
        </StackPanel>
    </Grid>
</Window>
